<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>Gate-Home</title>
</head>
<body>
<div>
    <p>
        <b>同学, 您好! 请输入你想进去的地方以及姓名、学号</b>
    </p>
    <form class="form-signin" th:action="@{/upload}" method="post" >
        <div> 第一次使用需要上传头像 先点击upload 在点击进入 第二次使用直接点击进入</div>
        <div th:text="${msg}" style="color: red"> </div>
        <textarea name="address" placeholder="data:source..." required autofocus ></textarea>
        <button class="btn btn-lg btn-primary btn-block" type="submit">Upload</button>
    </form>
    <form class="form-signin" th:action="@{/gateWay}" method="post">
        <input name="StudentName"  id="inputName" class="form-control" placeholder="Xxx" required autofocus>
        <input name="StudentId"  id="inputId" class="form-control" placeholder="1234567" required autofocus>
        <input name="region"  id="inputRegion" class="form-control" placeholder="南湖校区南门" required autofocus>
        <button class="btn btn-lg btn-primary btn-block" type="submit">进入</button>
    </form>


</div>
</body>
</html>